package com.ceo.common.threadlocal;


/**
 * @author uto_dev_008
 * @desc
 * @since 2021/11/24 10:55
 * Copyright (c)  All rights reserved
 */
public class EnvironEntity {

    public static void setToken(String token) {
        GlobalMemcache.setL(EnvironCons.TOKEN, token);
    }

    public static String getToken() {
        return (String) GlobalMemcache.getL(EnvironCons.TOKEN);
    }

    public static void setClientType(String ClientType) {
        GlobalMemcache.setL(EnvironCons.CLIENTTYPE, ClientType);
    }

    public static String getClientType() {
        return (String) GlobalMemcache.getL(EnvironCons.CLIENTTYPE);
    }

    public static void setModule(String Module) {
        GlobalMemcache.setL(EnvironCons.MODULE, Module);
    }

    public static String getmobileModule() {
        return (String) GlobalMemcache.getL(EnvironCons.MOBILE_MODULE);
    }

    public static void setmobileModule(String mobileModule) {
        GlobalMemcache.setL(EnvironCons.MOBILE_MODULE, mobileModule);
    }

    public static String getModule() {
        return (String) GlobalMemcache.getL(EnvironCons.MODULE);
    }


    public static void setView(String View) {
        GlobalMemcache.setL(EnvironCons.VIEW, View);
    }

    public static String getView() {
        return (String) GlobalMemcache.getL(EnvironCons.VIEW);
    }

    public static void setLanguage(String Language) {
        GlobalMemcache.setL(EnvironCons.LANGUAGE, Language);
    }

    public static String getLanguage() {
        return (String) GlobalMemcache.getL(EnvironCons.LANGUAGE);
    }
}
